angular.module('starter')
  .config(function($stateProvider) {
    $stateProvider.state('checkTable7', {
      url: '/checkTable7/:recordId',
      templateUrl: 'templates/checkTable7/checkTable7.html',
      controller: 'checkTable7Ctr',
      controllerAs: 'checkTable7Ctr'
    })
  })
  .controller('checkTable7Ctr', function($scope) {

    this.data = {
      teamName: "无锡路桥",
      checkEmployerName: "监理公司",
      pageNum: "123",
      tableType: 4, // 表格类型
      layerType: "1", // 面层类型1 2 3 
      recordNo: "1234", // 编号
      workTime: "2016-05-05", // 施工日期str
      workTimeDate: null, // 施工日期Date
      writeDate: "", // 填表日期
      defectIshandled: 1, // 下承层缺陷是否处理完毕 
      status: 1, // 状态:0:草稿;1:新增
      postil: "批注批注批注批注批注", // 批注
      workPoint: "1", // 作业点
      layer: "",
      ranges: "",
      illustrate: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      checkItemList: [{
        transporterNo: "", //运输车号
        mixtureCar: 0, //料车
        tyreIscleaned: 1, //轮胎是否清
        arrivalTemperature: "", //到场温度
        arrivalTime: "", //到场时间
        arrivalTimeDate: "", //到场时间
        ishitpave: 1, //是否撞击摊铺
        notice: ""
      }]
    };

  });